package com.leigang.boot.controller;

import com.leigang.boot.domain.vo.R;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class BaseController {
    protected final Logger logger = LoggerFactory.getLogger(this.getClass());

    public BaseController() {
    }

    protected <T> R<T> success(T data) {
        return R.ok(data);
    }
}
